package day_03;

import java.util.Scanner;

/**
 * @ClassName Test01
 * @Description TODO
 * @Author hp
 * @Date 2021/6/4 9:56
 * @Version 1.0
 **/
public class Test01 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);

        System.out.println("请输入姓名:");
        String name = in.next();

        System.out.println("请输入年龄:");
        int age = in.nextInt();

        System.out.println("请输入性别:");
        char gender = in.next().charAt(0);

        System.out.println("请输入体重:");
        double weight = in.nextDouble();

        System.out.println("请输入婚否:");
        boolean marry = in.nextBoolean();

        System.out.println("姓名："+name);
        System.out.println("年龄："+age);
        System.out.println("性别："+gender);
        System.out.println("体重："+weight);
        System.out.println("婚否："+marry);

    }

}
